package cn.itsource.pethome.user.mapper;

import cn.itsource.pethome.basic.mapper.BaseMapper;
import cn.itsource.pethome.user.domain.User; /**
 * @description: 描述:
 * @date: 2020/8/14 16:30
 * @author: summer
 * version: 1.0
 */

public interface UserMapper extends BaseMapper<User> {

    /**
     * 功能描述: 根据电话号查询列表
     * @param number 电话
     * @return: cn.itsource.pethome.user.domain.User
     * @Date: 2020/8/16
     */
    User loadByPhone(String number);

    /**
     * 功能描述: 根据邮箱查询列表
     * @param email 邮箱
     * @return: cn.itsource.pethome.user.domain.User
     * @Date: 2020/8/16
     */
    User loadByEmail(String email);
}
